package com.homework05;

/*
要写注释哦!!!
*/
public class work02 {
    public static void main(String[] args) {
        judge(10);
        judge(7);
    }

    // 创建一个函数judge
    /* TODO */
    public static void judge(int a) {
        if (a % 2 == 0) {
            System.out.println(a + "是个偶数！");
        } else {
            System.out.println(a + "是个偶数！");
        }
    }

}
